
import java.io.*;
import java.util.Arrays;
import java.util.ArrayList;
import java.util.Stack;
import java.util.Random;
import java.lang.Math;
import java.lang.String;

class Card {        
	private int number;
	private char suit;
	
	public Card(){
	}
	
	public Card(int number, char suit){
		this.number = number;
		this.suit = suit;
	}
	
	public int getNumber(){
		return number;
	}
	
	public char getSuit(){
		return suit;
	}
	
	public String toString(){
		String oput;
		if(number == 13)
			oput = "K";
		else if(number == 12)
			oput = "Q";
		else if(number == 11)
			oput = "J";
		else if(number == 14 || number == 1)
			oput = "A";
		else
			oput = "" + number;
		oput = oput + " of " + suit; 
		return oput;
	}
}